Skip to content

Update dependency fastapi to ^0.165.0 - #116

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/fastapi-0.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/fastapi-0.x

Conversation

@renovate

@renovate renovate Bot commented Jun 2, 2026 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
fastapi (changelog) ^0.104.0 → ^0.165.0 age confidence

Release Notes

fastapi/fastapi (fastapi)

v0.165.2

Compare Source

FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with uvx library-skills in your project. See Develop with AI.

Fixes
Docs
Internal

v0.165.1

Compare Source

FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with uvx library-skills in your project. See Develop with AI.

Fixes
Translations
Internal

v0.165.0

Compare Source

FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with uvx library-skills in your project. See Develop with AI.

Features

v0.164.0

Compare Source

FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with uvx library-skills in your project. See Develop with AI.

Features

v0.163.2

Compare Source

FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with uvx library-skills in your project. See Develop with AI.

Refactors
Translations
Internal

v0.163.1

Compare Source

FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with uvx library-skills in your project. See Develop with AI.

Fixes

v0.163.0

Compare Source

FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with uvx library-skills in your project. See Develop with AI.

Features

v0.162.7

Compare Source

FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with uvx library-skills in your project. See Develop with AI.

Fixes
Internal

v0.162.6

Compare Source

FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with uvx library-skills in your project. See Develop with AI.

Breaking Changes

v0.162.5

Compare Source

FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with uvx library-skills in your project. See Develop with AI.

Fixes
Internal

v0.162.4

Compare Source

FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with uvx library-skills in your project. See Develop with AI.

Fixes

v0.162.3

Compare Source

FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with uvx library-skills in your project. See Develop with AI.

Upgrades
Docs
Translations
Internal

v0.162.2

Compare Source

FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with uvx library-skills in your project. See Develop with AI.

Docs
Internal

v0.162.1

Compare Source

Docs
Translations
Internal

v0.162.0

Compare Source

Omitted bool and bool | None form fields now use their declared defaults or produce missing-field errors, consistent with other fields and Pydantic behavior. FastAPI no longer infers False for omitted booleans. This applies to individual form parameters, form models, and unions of form models.

Omitted boolean model fields are excluded from model_dump(exclude_unset=True), and their defaults no longer count as submitted fields during union selection. Default factories and validate_default follow the usual rules.

For HTML checkboxes, declare a boolean with a default of False. See Boolean Form Fields.

Breaking Changes

v0.161.1

Compare Source

Fixes

v0.161.0

Compare Source

Features

v0.160.0

Compare Source

Query, header, cookie, and form parameter models now apply their extra configuration to all submitted fields in the same parameter location, consistent with Pydantic behavior. This includes fields declared in other models, individual parameters, or dependencies, which were previously excluded.

With extra="forbid", fields outside the model are rejected even if another parameter declares them. With extra="allow", those fields are included as model extras. With the default extra="ignore", they are ignored.

Breaking Changes
Internal

v0.159.1

Compare Source

Features

v0.159.0

Compare Source

Features

v0.158.2

Compare Source

Features

v0.158.1

Compare Source

Fixes

v0.158.0

Compare Source

Features

v0.157.0

Compare Source

Features
  • ✨ Add support for combining query, header, and cookie parameter models. PR #​16573 by @​tiangolo.
Docs
Internal

v0.156.8

Compare Source

Fixes

v0.156.7

Compare Source

Fixes

v0.156.6

Compare Source

Fixes
  • 🐛 Respect model alias settings for query, header, and cookie parameters. PR #​16562 by @​tiangolo.

v0.156.5

Compare Source

Fixes

v0.156.4

Compare Source

Fixes

v0.156.3

Compare Source

Fixes

v0.156.2

Compare Source

Fixes

v0.156.1

Compare Source

Fixes

v0.156.0

Compare Source

Fixes

v0.155.0

Compare Source

The deprecated **extra keyword arguments have been removed from Path, Query, Header, Cookie, Body, Form, and File. Unknown keyword arguments now raise TypeError. For additional JSON Schema properties, replace, for example, Query(custom="value") with Query(json_schema_extra={"custom": "value"}).

Breaking Changes

v0.154.0

Compare Source

Features

v0.153.0

Compare Source

Unions of form models now apply the same browser form handling as individual models. Empty scalar fields use defaults or produce missing-field errors, empty list items are preserved, omitted boolean fields become False, and unselected files are treated as missing. JSON request bodies are unchanged.

Fixes

v0.152.0

Compare Source

Validation errors for header parameter models now report the HTTP header name, such as int-val, instead of the Python field name, int_val. Explicit aliases, Header(convert_underscores=False), and Pydantic models with loc_by_alias=False keep their existing behavior.

Fixes

v0.151.0

Compare Source

JSON request bodies now distinguish an explicit null from an omitted value. For individual Body parameters, null is validated as None: nullable types accept it, and non-nullable types reject it even when a default is defined. Defaults and default factories apply only when the value is omitted. This applies both to parameters inside JSON objects and to parameters representing the entire body. Clients that used null to request a default should omit the value instead.

When a JSON object is expected because of Body(embed=True) or multiple body parameters, sending null as the entire body now returns a validation error.

Breaking Changes

v0.150.0

Compare Source

When no file is selected, browsers submit a file part with an empty filename and empty content. FastAPI now treats this as missing: required file fields return a validation error, and fields with defaults or default factories use them. Unselected inputs are ignored in lists of files. Named zero-byte files are still accepted.

Breaking Changes

v0.149.0

Compare Source

Browsers submit empty text inputs as empty strings (""). FastAPI now treats empty scalar form values as missing in form models, matching individual Form parameters. Required fields return a validation error. Fields with defaults or default factories use them and remain unset in model_dump(exclude_unset=True).

Empty strings inside lists are preserved. Omitted boolean form fields still become False. JSON requests and direct Pydantic validation are unchanged.

Breaking Changes

v0.148.0

Compare Source

Defaults for omitted Query, Header, Cookie, and Form parameters and model fields are no longer treated as user input. Defaults are not validated unless validate_default=True is enabled. If you rely on validators running for omitted values, enable default validation with Field(validate_default=True) for model fields or, for example, Query(validate_default=True) for individual parameters. Body(validate_default=True) is now honored too.

For parameter models, applying a default no longer marks a field as explicitly set, so model_dump(exclude_unset=True) excludes it. Default factories run once, and validation errors no longer include injected defaults in input.

Omitted boolean form fields still become False and count as explicitly set.

Breaking Changes

v0.147.0

Compare Source

Omitted bool and bool | None form fields are now interpreted as False, matching unchecked HTML checkboxes. This applies to individual Form parameters and form models, including required fields and fields with defaults of True or None. The inferred value is considered explicitly set, including in model_dump(exclude_unset=True).

JSON requests and direct Pydantic validation are unchanged. See Boolean Form Fields.

Breaking Changes
Internal

v0.146.0

Compare Source

The root_path parameter in FastAPI() is deprecated. Configure the server with fastapi run --root-path /api/v1 instead.

Breaking Changes

v0.145.0

Compare Source

Breaking Changes
Docs

v0.144.0

Compare Source

Features

v0.143.5

Compare Source

Fixes
  • 🐛 Fix handling of empty value for byte file list parameter. PR #​9383 by @​Viicos.

v0.143.4

Compare Source

Upgrades

v0.143.3

Compare Source

Fixes
Docs

v0.143.2

Compare Source

Fixes
  • 🐛 Fix blocking frontend fallback file checks.

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from 037a2a0 to 81064e8 Compare June 14, 2026 14:11
@renovate renovate Bot changed the title Update dependency fastapi to ^0.136.0 Update dependency fastapi to ^0.137.0 Jun 14, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch 3 times, most recently from 2e84594 to d859f03 Compare June 20, 2026 01:49
@renovate renovate Bot changed the title Update dependency fastapi to ^0.137.0 Update dependency fastapi to ^0.138.0 Jun 20, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch 3 times, most recently from bac5ca2 to 35a6f43 Compare July 1, 2026 20:42
@renovate renovate Bot changed the title Update dependency fastapi to ^0.138.0 Update dependency fastapi to ^0.139.0 Jul 1, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch 2 times, most recently from c9e7f7f to 969eb09 Compare July 17, 2026 10:11
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from 969eb09 to 29fce2f Compare July 24, 2026 21:39
@renovate renovate Bot changed the title Update dependency fastapi to ^0.139.0 Update dependency fastapi to ^0.140.0 Jul 24, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch 6 times, most recently from 972eada to 8f66eb2 Compare July 29, 2026 16:59
@renovate renovate Bot changed the title Update dependency fastapi to ^0.140.0 Update dependency fastapi to ^0.141.0 Jul 29, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from 8f66eb2 to bdac266 Compare July 29, 2026 20:38
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from bdac266 to 51fc3db Compare August 11, 2026 22:43
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from 51fc3db to 7eaefad Compare August 20, 2026 15:05
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from 7eaefad to 3b4cef7 Compare September 2, 2026 20:50
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from 3b4cef7 to ce34ea7 Compare September 29, 2026 18:39
@renovate renovate Bot changed the title Update dependency fastapi to ^0.141.0 Update dependency fastapi to ^0.142.0 Sep 29, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch 2 times, most recently from 6c4daab to 692169f Compare October 1, 2026 05:52
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from 692169f to 240754f Compare October 7, 2026 20:09
Copilot AI balanced review requested due to automatic review settings October 22, 2026 20:02
@renovate renovate Bot changed the title Update dependency fastapi to ^0.159.0 Update dependency fastapi to ^0.161.0 Oct 22, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The upgrade crosses multiple breaking releases and a Starlette major version without runtime verification of HTTP routing, validation, and serialization.

No open issues 🎉

What changed in this PR

Updates the project’s FastAPI dependency from ^0.104.0 to ^0.161.0 and refreshes the locked dependency set.

Changes:

  • Raises the FastAPI version constraint.
  • Updates Starlette, Pydantic, and typing dependencies, and adds annotation and OpenTelemetry dependencies.
  • Refreshes lockfile metadata and removes older duplicate package entries.
File Description
pyproject.toml Updates the FastAPI dependency constraint.
poetry.lock Locks the upgraded framework and supporting dependencies.

Review effort: Balanced

@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from 3d65a55 to 1f88fdd Compare October 22, 2026 23:08
Copilot AI balanced review requested due to automatic review settings October 22, 2026 23:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The upgrade crosses multiple breaking framework releases and Starlette’s major-version transition without HTTP-level compatibility validation.

No open issues 🎉

Review effort: Balanced

@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from 1f88fdd to 675d9cb Compare October 23, 2026 21:11
Copilot AI balanced review requested due to automatic review settings October 23, 2026 21:11
@renovate renovate Bot changed the title Update dependency fastapi to ^0.161.0 Update dependency fastapi to ^0.162.0 Oct 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The upgrade crosses breaking framework releases, including a Starlette major version, without HTTP-level compatibility validation from the existing tests.

No open issues 🎉

Review effort: Balanced

@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from 675d9cb to c402498 Compare November 7, 2026 14:06
Copilot AI balanced review requested due to automatic review settings November 7, 2026 14:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The refreshed lock cannot satisfy pandas’ NumPy dependency on supported Python 3.13+ interpreters because the sole locked NumPy version, 1.26.1, requires Python below 3.13.

No open issues 🎉

Review effort: Balanced

@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from c402498 to 6e3f972 Compare November 7, 2026 17:17
Copilot AI balanced review requested due to automatic review settings November 7, 2026 17:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The broad FastAPI and Starlette upgrades require routing and HTTP serialization validation that direct-handler tests do not cover and that was unavailable in this review.

No open issues 🎉

Review effort: Balanced

@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from 6e3f972 to 3a9185b Compare November 10, 2026 18:17
Copilot AI balanced review requested due to automatic review settings November 10, 2026 18:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

FastAPI is locked with AnyIO 3.7.1 despite requiring AnyIO >=4.1.0, while project and un-yaml constraints prevent the required upgrade, leaving an incompatible runtime stack.

No open issues 🎉

Review effort: Balanced

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

FastAPI is locked with unsupported AnyIO 3.7.1, while the direct AnyIO constraint and un-yaml dependency block upgrading to the required AnyIO >=4.1.0.

1 open issue

Review effort: Balanced

Comment thread pyproject.toml Outdated
universal-pathlib = "^0.1.1"
urllib3 = "<2"
fastapi = "^0.104.0"
fastapi = "^0.162.0"
@renovate

renovate Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: poetry.lock
Creating virtualenv quiltplus-sE6xLoeL-py3.15 in /home/ubuntu/.cache/pypoetry/virtualenvs

The current project's Python requirement (>=3.10,<4.0) is not compatible with some of the required packages Python requirement:
  - fastapi requires Python >=3.11, so it will not be satisfied for Python >=3.10,<3.11
  - fastapi requires Python >=3.11, so it will not be satisfied for Python >=3.10,<3.11
  - fastapi requires Python >=3.11, so it will not be satisfied for Python >=3.10,<3.11

Because no versions of fastapi match >0.165.0,<0.165.1 || >0.165.1,<0.165.2 || >0.165.2,<0.166.0
 and fastapi (0.165.0) requires Python >=3.11, fastapi is forbidden.
And because fastapi (0.165.1) requires Python >=3.11, fastapi is forbidden.
So, because fastapi (0.165.2) requires Python >=3.11
 and quiltplus depends on fastapi (^0.165.0), version solving failed.

  • Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties
    
    For fastapi, a possible solution would be to set the `python` property to ">=3.11,<4.0"
    For fastapi, a possible solution would be to set the `python` property to ">=3.11,<4.0"
    For fastapi, a possible solution would be to set the `python` property to ">=3.11,<4.0"

    https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
    https://python-poetry.org/docs/dependency-specification/#using-environment-markers

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The FastAPI upgrade conflicts with the project's Python 3.10 support and AnyIO 3 constraint, while the lockfile still pins FastAPI 0.104.0.

3 open issues

Review effort: Balanced

Comment thread pyproject.toml Outdated
universal-pathlib = "^0.1.1"
urllib3 = "<2"
fastapi = "^0.104.0"
fastapi = "^0.163.0"
Comment thread pyproject.toml Outdated
universal-pathlib = "^0.1.1"
urllib3 = "<2"
fastapi = "^0.104.0"
fastapi = "^0.163.0"

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The FastAPI upgrade conflicts with the declared Python 3.10 support and AnyIO constraint, while the stale lockfile leaves CI unable to install the requested dependency set.

3 open issues

Review effort: Balanced

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The FastAPI upgrade conflicts with the project's AnyIO constraint and Python 3.10 CI runtime, while the unchanged lockfile still pins an incompatible FastAPI version.

3 open issues

Review effort: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant